<template>
  <button
    @click="addTodo"
  >提交</button>
</template>

<script>
export default {
  name: 'TodoBtn',
  methods: {
    addTodo() {
      this.$emit('addTodo');
      }
    }
}
</script>

<style>

</style>
